package com.group4.xiao_ge_lai_yi_zhu.service;


import com.group4.xiao_ge_lai_yi_zhu.dao.UserDAO;
import com.group4.xiao_ge_lai_yi_zhu.domain.Lottery;

public class BuyService {
    private UserDAO userDAO =new UserDAO();


    public void AutomaticSelection(Lottery lottery) {
        userDAO.lotteryUpload(lottery);
    }

    //向Dao类传输手动选择彩票
    public boolean lotteryTransmission(Lottery lottery){
        return userDAO.lotteryUpload(lottery);
    }
}
